<script>
    'use strict';
    const contextData = {
        data : JSON.parse('<%= JSON.stringify(data) %>'.replace(/&#34;/g, '"') || "{}"),
        body : JSON.parse('<%= JSON.stringify(body) %>'.replace(/&#34;/g, '"') || "{}"),
        userData : JSON.parse('<%= JSON.stringify(userData || {}) %>'.replace(/&#34;/g, '"') || "{}"),
        contextPath: "<%= global.config.path.contextPath %>",
        viewPrefix: "<%= global.config.path.viewPrefix %>"
    };

</script>

<script src="<%=global.config.cdn.path %>/jquery/2.2.0/jquery.js"></script>
<script src="<%=global.config.cdn.path %>/bootstrap/3.3.6/js/bootstrap.js"></script>

<!-- bootstrap-datetimepicker -->
<script src="<%= global.config.path.publicPath %>/libs/bootstrap-datetimepicker-master/js/bootstrap-datetimepicker.js"></script>
<script src="<%= global.config.path.publicPath %>/libs/bootstrap-datetimepicker-master/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>

<!-- file-upload -->
<script src="<%= global.config.path.publicPath %>/libs/jquery-file-upload/js/vendor/jquery.ui.widget.js"></script>
<script src="<%= global.config.path.publicPath %>/libs/jquery-file-upload/js/jquery.fileupload.js"></script>

<!--dolphin-->
<script src="<%= global.config.path.publicPath %>/libs/dolphin/dolphin.js"></script>
<script src="<%= global.config.path.publicPath %>/libs/dolphin/local/message_zh-CN.js"></script>
<script src="<%= global.config.path.publicPath %>/custom/js/config.js"></script>

<!--custom script-->
<script src="<%= global.config.path.publicPath %>/custom/js/common.js"></script>
<script src="<%= global.config.path.publicPath %>/custom/js/menu.js"></script>

<!--page script-->
<script src="<%= global.config.path.publicPath %>/page-script<%=path %>.js"></script>